/**
 * 输出九九乘法表
 */
var result = ''
for(var i = 1; i <= 9; i++) {
    for (var j = 1; j <= i; j++) {
        result =result + `${j}*${i} = ${i*j}` + '  '
    }
    result = result + '\n'
}
console.log(result)